<?xml version="1.0" encoding="ISO-8859-1" ?>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
	<jsp:directive.page contentType="text/html; charset=ISO-8859-1"
		pageEncoding="ISO-8859-1" session="true" />
	<jsp:output doctype-root-element="html"
		doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
		omit-xml-declaration="true" />

	<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Gamer's Community</title>
<jsp:include page="common/headerScripts.jsp" />
<link rel="stylesheet" href="${root}/css/L75R25.css" />

<script>
	$(document).ready(function() {
		$("#userForm").validate();
	});
</script>
</head>
<body>

	<jsp:include page="common/header_nav.jsp" />
	<!-- main starts -->
	<div id="main" class="grid-block">
		<div id="maininner" class="grid-box">
			<section id="content" class="grid-block">
				<div id="system-message-container"></div>
				<div id="system">
					<div class="items items-col-0 grid-block">
						<!-- Main Content -->



						<c:if test="${not empty msg }">
							<div id="error">${msg }</div>
						</c:if>


						<!-- start User Profile form -->
						<div id="div-regForm">
							<div class="form-sub-title">Update Profile</div>

							<form id="userForm" action="profile" method="post">
								<table>
									<tbody>
										<tr>
											<td><label for="fname">First Name:</label></td>
											<td><div class="input-container">
													<input type="text" name="firstname" value="${firstName }"
														class="required" />
												</div></td>
										</tr>
										<tr>
											<td><label for="lname">Last Name:</label></td>
											<td><div class="input-container">
													<input type="text" name="lastname" value="${lastName }"
														class="required" />
												</div></td>
										</tr>

										<tr>
											<td><label for="email">Your Email:</label></td>
											<td><div class="input-container">${email }</div></td>
										</tr>

										<tr>
											<td><label for="securityquestion">Security
													question</label></td>
											<td><div class="input-container">
													<input type="text" name="securityquestion"
														value="${securityquestion }" class="required" />
												</div></td>
										</tr>
										<tr>
											<td><label for="answer">Answer</label></td>
											<td><div class="input-container">
													<input type="text" name="answer" value="${answer }"
														class="required" />
												</div></td>
										</tr>

										<tr>
											<td>&amp;nbsp;</td>
											<td><input type="submit" name="submit" value="Update"
												class="greenButton" />
											</td>
										</tr>


									</tbody>
								</table>

							</form>

						</div>


						<!-- end User Profile form -->
						<!-- Main Content ends-->
					</div>
				</div>
			</section>
		</div>
		<!-- maininner end -->

		<jsp:include page="UserPanel.jsp" />
	</div>
	<!-- main end -->

	<jsp:include page="common/footer.jsp" />

</body>
	</html>
</jsp:root>





